﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <style>
      html, body,#map-canvas {
        height: 100%;
        margin: 0px;
        padding: 0px
      }
    </style>
    <link href="LibreriasScript/bootstrap-3.1.1-dist/css/bootstrap-theme.min.css" rel="stylesheet" />
    <link href="LibreriasScript/bootstrap-3.1.1-dist/css/bootstrap.min.css" rel="stylesheet" />
    <script src="LibreriasScript/JQuery/jquery-1.11.0.min.js"></script>
    <script src="LibreriasScript/bootstrap-3.1.1-dist/js/bootstrap.min.js"></script>    
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=true"></script>
    <script src="LibreriasScript/MapsApi.js"></script>
    <script src="LibreriasScript/FuncionesHome.js"></script>
    <title>JusTime</title>
    <script type="text/javascript">
        $(document).ready(function () {
            initializeMap();
        });
    </script>
</head>
<body onload="checkUsuario()">
    <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand" style="width:150px; height:65px"><img src="Recursos/JusTimeHome.png" height="auto" width=100%" /></a>
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="sr-only"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>                
            </div>
            <div class="collapse navbar-collapse">
                <br />
                <ul class="nav navbar-nav">
                    <li><a data-toggle="modal" id="vrutas" data-target="#myModal">          <span class="glyphicon glyphicon-eye-open"></span> Visualizar rutas</a></li>  
                    <li><a href="Rutas.html"><span class="glyphicon glyphicon-road">   </span> Rutas</a></li>
                    <li><a href="Buses.html"><span class="glyphicon glyphicon-pushpin">   </span> Buses</a></li>       
                    <li><a href="AsignarRutas.html"><span class="glyphicon glyphicon-edit">   </span> Asignacion de rutas</a></li>  
                    <li><a href="HistorialMovimientos.html"><span class="glyphicon glyphicon-calendar">   </span> Historial de movimientos</a></li>                              
                    <li><a href="Reporte.html"><span class="glyphicon glyphicon-file">   </span> Reportes</a></li>                              
                    <li><a id="btnSalir" onclick="CerrarSesion()"><span class="glyphicon glyphicon-circle-arrow-left"></span>  Salir</a></li>   
                </ul>
            </div><!--/.nav-collapse -->
        </div>
    </div>
    <div id="map-canvas"></div>
    <!-- Modal -->
    <div class="modal fade bs-example-modal-sm" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div style="background:#848484" class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">Rutas</h4>
                </div>
                <div class="modal-body">
                    <div align="center">
                        <div class="btn-group" id="lRutas">                            
                        </div>     
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-warning" data-dismiss="modal">Cerrar</button>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
